package com.devshephard.jucks.cpu;

public class cpuTest {

    public static void main(String[] args) {

        //获取CPU的核数
        System.out.println(Runtime.getRuntime().availableProcessors());

        System.out.println(Thread.State.NEW);
    }

}
